home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbrpwclr.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 dbrpwclr
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbrpwclr
  6.  
  7.   FUNCTION:
  8.        Clear all remote passwords from the LOGINREC structure.
  9.  
  10.   SYNTAX:
  11.        void dbrpwclr(loginrec)
  12.  
  13.        LOGINREC  *loginrec;
  14.  
  15.   COMMENTS:
  16.  
  17.        o A Transact-SQL command batch or stored procedure running on one
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbrpwclr                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          SQL Server may call  a  stored  procedure  located  on  another
  27.          SQL Server.  To accomplish this server-to-server communication,
  28.          the first SQL Server, connected to the application through dbo-
  29.          pen(), actually logs into the second, remote SQL Server.
  30.  
  31.          dbrpwset() allows the application to specify the password to be
  32.          used when the first SQL Server attempts to call the stored pro-
  33.          cedure on the remote SQL Server.   Multiple  passwords  may  be
  34.          specified,  one  for  each SQL Server that the first SQL Server
  35.          might need to log into.
  36.        o A single LOGINREC can be used repeatedly,  in  successive  dbo-
  37.          pen()  calls  to  different SQL Servers.  dbrpwclr() allows the
  38.          application to remove any remote password information currently
  39.          in  the LOGINREC, so that successive calls to dbopen() can con-
  40.          tain different  remote  password  information  (specified  with
  41.          dbrpwset()).
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                 dbrpwclr
  47.   ______________________________________________________________________
  48.  
  49.   PARAMETERS:
  50.        loginrec -  A pointer to a LOGINREC structure.  This pointer will
  51.            serve as an argument to dbopen().  You can get one by calling
  52.            dblogin().
  53.  
  54.   RETURNS:
  55.        None.
  56.  
  57.   SEE ALSO:
  58.        dblogin,  dbopen,  dbrpwset,  DBSETLAPP,  DBSETLHOST,  DBSETLPWD,
  59.        DBSETLUSER
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.